package executable.instance.inheritance;

public class VisibilityInheritanceCalls {

    public static String visibilityTrap1() {
        return new VisibilityInheritanceB().visibilityTrap();
    }

    public static String visibilityTrap2() {
        return new VisibilityInheritanceC().getValueInVisibilityTrap();
    }
//
//    public static String protectedValueFromParent() {
//        return new VisibilityInheritanceB().getProtectedValue();
//    }

    public static String publicValueFromParent() {
        return new VisibilityInheritanceB().getPublicValue();
    }

}
